Skip to content

Fix bug for disabled field in NestedForm#7

Open
apple-bears wants to merge 1 commit intoswe-productivity:developfrom
apple-bears:fix/nesstedform-datapicker
Open

Fix bug for disabled field in NestedForm#7
apple-bears wants to merge 1 commit intoswe-productivity:developfrom
apple-bears:fix/nesstedform-datapicker

Conversation

@apple-bears
Copy link
Copy Markdown

Related Issue

#3

Updates

  • Iterate over the fields to disable nested form to get correct disabled Field instead of disabling from NestedForm Level.

Test

I tested with this fields.yaml file.

tabs:
    fields:
        updated_at:
            tab: Ontwerp
            label: Updated at
            type: datepicker
            disabled: true

        configuration:
            tab: Ontwerp
            type: nestedform
            usePanelStyles: false
            disabled: true
            trigger:
                action: hide
                field: approved_status
                condition: value[canceled]
            form:
                fields:

                    created_at:
                        label: Original created at
                        type: datepicker
Screenshot from 2026-02-24 10-08-40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant